<%-- 
    Document   : logout
    Created on : 19/11/2011, 00:12:16
    Author     : Thomas
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Página de Logout</title>
    </head>
    <body>
        <%
            if (request.getParameter("logout") != null) {
                session.setAttribute("access_type", null);
                session.setAttribute("name", null);
                session.setAttribute("id", null);
                session.setAttribute("usuario", null);
                pageContext.forward("./index.jsp");
            }
        %>
    </body>
</html>
